﻿<UserControl x:Class="SlTest.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:editor="http://357499414.qzone.qq.com"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" >

    <Grid x:Name="LayoutRoot">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"/>
                <RowDefinition Height="60"/>
            </Grid.RowDefinitions>

            <!--<editor:Editor Grid.Row="0" x:Name="editor" Background="#FF9CAAC1" FontFamilyNames="Arial Black:Arial Black,Calibri:Calibri,Candara:Candara,Consolas:Consolas,Corbel:Corbel,Simsun:宋体,KaiTi:楷体,SimHei:黑体,FangSong:仿宋,MingLiu:细明体,Microsoft JhengHei
:微软正黑体,Microsoft YaHei:微软雅黑" ToolBarGroupsConfig="OpenLocalFile,SaveAsLocalFile;SetFontFamily,SetFontSize,SetFontColor;TextAlignmentLeft,TextAlignmentCenter,TextAlignmentRight;SetFontBold,SetFontItalic,SetFontUnderline;InsertImage;EditorStatus" ></editor:Editor>-->
            <editor:Editor Grid.Row="0" x:Name="editor" Background="#FF9CAAC1" FontFamilyNames="Arial Black:Arial Black,Calibri:Calibri,Candara:Candara,Consolas:Consolas,Corbel:Corbel,Simsun:宋体,KaiTi:楷体,SimHei:黑体,FangSong:仿宋,MingLiu:细明体,Microsoft JhengHei:微软正黑体,Microsoft YaHei:微软雅黑"></editor:Editor>
            <StackPanel Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Center" Height="32">
                <TextBlock Text="Status:" VerticalAlignment="Center"></TextBlock>
                <ComboBox x:Name="cmbEditorStatus" VerticalAlignment="Center">
                    <ComboBoxItem Content="Edit"/>
                    <ComboBoxItem Content="Designer"/>
                    <ComboBoxItem Content="View"/>
                </ComboBox>
                <TextBlock Text="ToolBar Visibility:" VerticalAlignment="Center"></TextBlock>
                <CheckBox x:Name="ckbToolBarVisibility" IsThreeState="False" VerticalAlignment="Center"></CheckBox>
                <Button Content="Get Xaml" Height="32" Width="78" x:Name="btnGetXaml"></Button>
                <Button Content="Open Xaml" Height="32" Width="78" x:Name="btnOpenXaml"></Button>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
